define(["jquery", "easy-admin"], function ($, ea) {

    var init = {
        table_elem: '#currentTable',
        table_render_id: 'currentTableRenderId',
        index_url: 'promote/index',
    };

    var Controller = {
        index: function () {
            ea.table.render({
                init: init,
                toolbar: ['refresh'],
                cols: [[
                    {field: 'mobile', title: '手机号'},
                    {field: 'create_time', title: '提交时间', search: 'range'},
                ]],
            });
            ea.listen();
        },
    };
    return Controller;
});